package com.tcm.logistics.service;

import com.base.core.pager.PageBean;
import com.tcm.logistics.entity.Logistics;

public interface LogisticsService {

    /**
     * 物流发货单列表
     * @param start
     * @param pagesize
     * @return
     */
    PageBean<Logistics> listPageLogistics(Long start, Long pagesize);

    Logistics findLogisticsById(Long id);

    /**
     * 新增物流订单
     * @param logistics
     */
    void create(Logistics logistics);

    /**
     * 更新物流订单
     * @param logistics
     */
    void update(Logistics logistics);

    /**
     * 逻辑删除物流订单
     * @param id
     * @return
     */
    int deleteLogicById(Long id);

    /**
     * 删除物流订单
     * @param Id
     * @return
     */
    int deleteById(Long Id);

    /**
     * 获取相关枚举数据的字典
     * @param type
     * @return
     */


}
